Skip to content

Update readme to describe the fork and add gradle task for Nosto internal publishing#8

Merged
anttip merged 3 commits intomasterfrom
feature/add-internal-publish-task-and-add-fork-info-to-readme
Mar 14, 2025
Merged

Update readme to describe the fork and add gradle task for Nosto internal publishing#8
anttip merged 3 commits intomasterfrom
feature/add-internal-publish-task-and-add-fork-info-to-readme

Conversation

@anttip
Copy link

@anttip anttip commented Mar 14, 2025

No description provided.


// to publish to local maven repo skip signing: ./gradlew publishToMavenLocal -x signGraphqlJavaPublication
signing {
required = { !version.endsWith("nosto") }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting
I don't see references to this here, but I guess it's read from signing anyways?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's coming from the signing-plugin and activates when publishing. I disabled it now for our own release version as it requires key setup for signing.

Comment on lines +166 to +167
tasks.register('publishToNostoRepo') {
dependsOn 'publishMavenPublicationToMavenRepository'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes because with the normal publish-task it would try to upload to the sonatype repo that upstream also uses.

Comment on lines +28 to +33
compileJava {
options.release = 11
}
compileTestJava {
options.release = 11
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a comment expressing we want to keep it as v11 so the changes we apply can be also applied to the original project?

Copy link

@leanish leanish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added some minor comment but LGTM otherwise

@anttip anttip merged commit 6822535 into master Mar 14, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants